﻿/********************************************************************
	created:	2011-8-14   10:37
	author:		Lifan Su
	
	purpose:	Common header, for some macro definition

    node:       xxx_d means only a structure, and not able to calculate
                xxx_c means a stream that can be appended to.
*********************************************************************/

#ifndef CRYPT_HASH_COMMON_H
#define CRYPT_HASH_COMMON_H

#if defined _MSC_VER
    #if defined CRYPT_HASH_DYNAMIC_EXPORTS
        #define CRYPT_HASH_PREFIX __declspec(dllexport)
    #elif defined CRYPT_HASH_STATIC
        #define CRYPT_HASH_PREFIX
    #else
        #define CRYPT_HASH_PREFIX __declspec(dllimport)
    #endif

    #define CRYPT_HASH_API __stdcall
#else
    #error "Unsupported platform"
#endif

#include <_stdint.h>

#endif // CRYPT_HASH_COMMON_H